package com.heima.day10.zijieliu;

import javax.imageio.IIOException;
import java.io.FileOutputStream;
import java.io.IOException;

public class ZiJjeLiu04 {
    public static void main(String[] args) {
        FileOutputStream fi = null;
        try {
         //   System.out.println(2/0);
            fi = new FileOutputStream("day10\\r.txt");
            fi.write(11);
        } catch (IOException e) {
            e.printStackTrace();
        } finally {
          if(fi != null){
              try {
                  fi.close();
              } catch (IOException e) {
                  e.printStackTrace();
              }
          }

        }

    }
}
